package Com.Hupochuan.Vo;

import java.sql.Timestamp;

import Com.Hupochuan.Uil.Util.TimeStringUtil;

/*
 * 电影演员表 MovieActor
 */
public class MovieActor {
	//					字段名			字段类型		中文解析	缺省(Default)	备注
	private Long 		id;//			INT			ID		AUTO_INCREMENT	PRIMARY KEY
	private Long 		movieId;//		INT			电影ID	0	
	private Long 		actorId;//		INT			演员ID	0	
	private String 		roleName;//		VARCHAR(50)	角色名称	(空字符串)	
	private Float 		weight;//		FLOAT		权重		0	
	private Timestamp 	createTime;//	DATETIME	创建时间	No default	
	private Timestamp 	updateTime;//	DATETIME	更新时间	No default	
	
	private String movieName;//		电影名
	
	private String actorName;//		演员名
	private String actorLogoPath;//	演员图片
	private String actorBaikeUrl;//	演员百科
	private String actorXlwbUrl;//	演员新浪微博
	private String actorTxwbUrl;//	演员腾讯微博
	private String actorBdtbUrl;//	演员百度贴吧
	
	/*
	 * 获得转换的时间字符串
	 */
	public String getCreateTimeString() {
		return TimeStringUtil.getObject().timeToTimeString(this.createTime);
	}
	public String getUpdateTimeString() {
		return TimeStringUtil.getObject().timeToTimeString(this.updateTime);
	}
	
	/*
	 * 参数注入
	 */
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getMovieId() {
		return movieId;
	}
	public void setMovieId(Long movieId) {
		this.movieId = movieId;
	}
	public Long getActorId() {
		return actorId;
	}
	public void setActorId(Long actorId) {
		this.actorId = actorId;
	}
	public String getRoleName() {
		return roleName;
	}
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}
	public String getActorName() {
		return actorName;
	}
	public void setActorName(String actorName) {
		this.actorName = actorName;
	}
	public String getActorLogoPath() {
		return actorLogoPath;
	}
	public void setActorLogoPath(String actorLogoPath) {
		this.actorLogoPath = actorLogoPath;
	}
	public String getActorBaikeUrl() {
		return actorBaikeUrl;
	}
	public void setActorBaikeUrl(String actorBaikeUrl) {
		this.actorBaikeUrl = actorBaikeUrl;
	}
	public String getActorXlwbUrl() {
		return actorXlwbUrl;
	}
	public void setActorXlwbUrl(String actorXlwbUrl) {
		this.actorXlwbUrl = actorXlwbUrl;
	}
	public String getActorTxwbUrl() {
		return actorTxwbUrl;
	}
	public void setActorTxwbUrl(String actorTxwbUrl) {
		this.actorTxwbUrl = actorTxwbUrl;
	}
	public String getActorBdtbUrl() {
		return actorBdtbUrl;
	}
	public void setActorBdtbUrl(String actorBdtbUrl) {
		this.actorBdtbUrl = actorBdtbUrl;
	}
	public String getMovieName() {
		return movieName;
	}
	public void setMovieName(String movieName) {
		this.movieName = movieName;
	}
	public Float getWeight() {
		return weight;
	}
	public void setWeight(Float weight) {
		this.weight = weight;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}
